#ifndef _TORUSPRORENDERING_APPMODEL_TIMEMETER_H__
#define _TORUSPRORENDERING_APPMODEL_TIMEMETER_H__

#include <windows.h>

class TimeMeter
{	
public:
	TimeMeter(void);
	virtual ~TimeMeter(void);

	/// \brief start measure
	void start();

	/// \brief returns milliseconds elapsed since last start call
	double end();

private:
    LARGE_INTEGER start_counter;
    LARGE_INTEGER perf_clock_frequency_ticks_per_second;

};

#endif // _TORUSPRORENDERING_APPMODEL_TIMEMETER_H__ 